package com.shuwen.gcdj.bean.dictionaryItem.request;


import com.shuwen.gcdj.bean.dictionaryItem.DictionaryItemIdNameBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class DictionaryItemBatchSaveParam {

    @ApiModelProperty(value = "字典ID", required = true)
    @NotBlank
    private String dictionaryId;

    @ApiModelProperty(value = "选项列表", required = true)
    @NotEmpty
    @Valid
    private List<DictionaryItemIdNameBean> items;


}
